Flash Video
Flash Video
|
Filename extension |
.flv, .f4v, .f4p, .f4a, .f4b |
Internet media type |
video/x-flv, video/mp4, video/x-m4v, audio/mp4a-latm, video/3gpp, video/quicktime, audio/mp4 |
Developed by |
Adobe Systems (originally developed by Macromedia) |
Type of format |
Media container |
Container for |
Audio, video, text, data |
Extended from |
FLV: SWF
F4V: MPEG-4 Part 12 |
Flash Video is a container file format used to deliver video over the Internet using Adobe Flash Player versions 6–10. Flash Video content may also be embedded within SWF files. There are two different video file formats known as Flash Video: FLV and F4V. The audio and video data within FLV files are encoded in the same way as they are within SWF files. The latter F4V file format is based on the ISO base media file format and is supported starting with Flash Player 9 update 3.[1][2] Both formats are supported in Adobe Flash Player and currently developed by Adobe Systems. FLV was originally developed by Macromedia.
The format has quickly established itself as the format of choice for embedded video on the web. Notable users of the Flash Video format include YouTube, Hulu, Google Video, Yahoo! Video, metacafe, Reuters.com, and many other news providers.
The standards documentation for BBC Online states that the BBC now preferentially accepts Flash videos for submission, to the disadvantage of other formats previously in use on its sites[3] such as RealVideo or WMV.
Flash Video FLV files usually contain material encoded with codecs following the Sorenson Spark or VP6 video compression formats. The most recent public releases of Flash Player also support H.264 video and HE-AAC audio. All of these codecs are currently restricted by patents.
Flash Video is viewable on most operating systems, via the Adobe Flash Player and web browser plugin or one of several third-party programs.
Flash Player
The Adobe Flash Player is a multimedia and application player originally developed by Macromedia and acquired by Adobe Systems. It plays SWF files which can be created by the Adobe Flash authoring tool, Adobe Flex, or a number of other Adobe Systems and third party tools. It has support for a scripting language called ActionScript, which can be used to display Flash Video from an SWF file. Because the Flash Player runs as a browser plug-in, it is possible to embed Flash Video in web pages and view the video within a web browser.
Format details
Commonly, Flash Video FLV files contain video bit streams which are a proprietary variant of the H.263 video standard,[4] under the name of Sorenson Spark (FourCC FLV1).[5][6] Sorenson Spark is an older codec for FLV files but it is also a widely available and compatible one, because it was the first video codec supported in Flash Player.[7] It is the required video compression format for Flash Player 6 and 7.[8] Flash Player 8 and newer revisions also support the playback of On2 TrueMotion VP6 video bit streams (FourCC VP6F or FLV4). On2 VP6 is the preferred video compression format for use with Flash Player 8 and higher.[5][9] On2 VP6 can provide a higher visual quality than Sorenson Spark, especially when using lower bit rates. On the other hand it is computationally more complex and therefore will not run as well on certain older system configurations.[8][10]
Flash Player 9 Update 3, released on December 3, 2007,[11] also includes support for the new Flash Video file format F4V and H.264 video standard (also known as MPEG-4 part 10, or AVC) which is even more computationally demanding, but offers significantly better quality/bitrate ratio.[12] Specifically, Flash Player now supports video compressed in H.264 (MPEG-4 Part 10), audio compressed using AAC (MPEG-4 Part 3), the F4V, MP4 (MPEG-4 Part 14), M4V, M4A, 3GP and MOV multimedia container formats, 3GPP Timed Text specification (MPEG-4 Part 17) which is a standardized subtitle format and partial parsing support for the 'ilst' atom which is the ID3 equivalent iTunes uses to store metadata. MPEG-4 Part 2 video (e.g. created with DivX or Xvid) is not supported.[13] In an interview with BBC News, the main programmer of Flash Jonathan Gay said that the company had wanted to use H.264 when video support was originally added to Flash, but had been deterred by the patent licensing fees of around $5million (£3.5million) per year.[14]
The Flash Video FLV file format supports two versions of a so called 'screenshare' (Screen video) codec which is an encoding format designed for screencasts. Both these formats are bitmap tile based, can be lossy by reducing color depths and are compressed using zlib. The second version is only playable in Flash Player 8 and newer.
Audio in Flash Video files is usually encoded as MP3. However, audio in Flash Video FLV files recorded from the user's microphone use the proprietary Nellymoser Asao Codec.[15] (Flash Player 10 released in 2008 also supports the open source Speex codec.[16]) FLV files also support uncompressed audio or ADPCM format audio. Recent versions of Flash Player 9 support AAC (HE-AAC/AAC SBR, AAC Main Profile, and AAC-LC).[17]
Support for encoding Flash Video files is provided by an encoding tool included with Adobe's Flash Professional and Creative Suite products, On2's Flix encoding tools, Sorenson Squeeze, FFmpeg and other third party tools.
File formats
Support for video in SWF file format was added in Flash Player 6, released in 2002. In 2003, Flash Player 7 added direct support for FLV file format. Because of restrictions in the FLV file format, Adobe Systems has created in 2007 new file formats listed below, based on the ISO base media file format (MPEG-4 Part 12). Flash Player does not check the extension of the file, but rather looks inside the file to detect which format it is.[13][18] The new file formats are completely different from the older FLV file format. For example, F4V does not support Screen video, Sorenson Spark, VP6 video compression formats and ADPCM, Nellymoser audio compression formats.[1][18] Authors of Flash Player strongly encourage everyone to embrace the new standard file format F4V (ISO base media file format). There are functional limits with the FLV structure when streaming H.264 or AAC which could not be overcome without a redesign of the file format. This is one reason why Adobe Systems is moving away from the traditional FLV file structure.[18]
File Extension |
Mime Type |
Description |
.f4v |
video/mp4 |
Video for Adobe Flash Player |
.f4p |
video/mp4 |
Protected Video for Adobe Flash Player |
.f4a |
audio/mp4 |
Audio for Adobe Flash Player |
.f4b |
audio/mp4 |
Audio Book for Adobe Flash Player |
SWF files published for Flash Player 6 and later versions are able to exchange audio, video, and data over RTMP connections with the Adobe Flash Media Server. One way to feed data to Flash Media Server is from files in the FLV file format. Starting with SWF files created for Flash Player 7, Flash Player can play FLV file format directly (MIME type video/x-flv). Starting with SWF files created for Flash Player 9 Update 3, Flash Player can also play the new F4V file format.[1]
Media type support
Supported media types in FLV file format:[1]
- Video: On2 VP6, Sorenson Spark (Sorenson H.263), Screen video, H.264
- Audio: MP3, ADPCM, Linear PCM, Nellymoser, Speex, AAC, G.711 (reserved for internal use)
Supported media types in F4V file format:[1]
- Video: H.264
- Images (still frame of video data): GIF, PNG, JPEG
- Audio: AAC, HE-AAC, MP3
Support for audio and video compression formats in Flash Player and in Flash Video[1][9][15][17][19]
Flash Player version |
Released |
File format |
Video compression formats |
Audio compression formats |
6 |
2002 |
SWF |
Sorenson Spark, Screen video |
MP3, ADPCM, Nellymoser |
7 |
2003 |
SWF, FLV |
Sorenson Spark, Screen video |
MP3, ADPCM, Nellymoser |
8 |
2005 |
SWF, FLV |
On2 VP6, Sorenson Spark, Screen video, Screen video 2 |
MP3, ADPCM, Nellymoser |
9.0.115.0 |
2007 |
SWF, FLV |
On2 VP6, Sorenson Spark, Screen video, Screen video 2, H.264[*] |
MP3, ADPCM, Nellymoser, AAC[*] |
|
|
SWF, F4V, ISO base media file format |
H.264 |
AAC, MP3 |
10 |
2008 |
SWF, FLV |
On2 VP6, Sorenson Spark, Screen video, Screen video 2, H.264[*] |
MP3, ADPCM, Nellymoser, Speex, AAC[*] |
|
|
SWF, F4V, ISO base media file format |
H.264 |
AAC, MP3 |
- Use of the H.264 and AAC compression formats in the FLV file format has some limitations and authors of Flash Player strongly encourage everyone to embrace the new standard F4V file format.[18]
FLV players
A FLV player is a type of media player that is used for playing Flash video from PC as well as from Internet websites. A FLV player can be used standalone, without the need of the Adobe Flash authoring or developmental tools. It can also be embedded in the website using Flash component or embeddable version of FLV player.
The following players support FLV files in their default installations:
Desktop-based
Microsoft Windows, Mac OS X, Unix-based
PDA-based
Windows Mobile, PalmOS-based
- The Core Pocket Media Player (open source software)
Delivery options
Flash Video files can be delivered in several different ways:
- As a standalone .FLV file. Although Flash Video files are normally delivered using a Flash player for control, the .FLV file itself is only playable with an FLV player. There are several third party players available.
- Embedded in an SWF file using the Flash authoring tool (supported in Flash Player 6 and later). The entire file must be transferred before playback can begin. Changing the video requires rebuilding the SWF file.
- Progressive download via HTTP (supported in Flash Player 7 and later). This method uses ActionScript to include an externally hosted Flash Video file client-side for playback. Progressive download has several advantages, including buffering, use of generic HTTP servers, and the ability to reuse a single SWF player for multiple Flash Video sources. Flash Player 8 includes support for random access within video files using the partial download functionality of HTTP, sometimes this is referred to as streaming. However, unlike streaming using RTMP, HTTP "streaming" does not support real-time broadcasting. Streaming via HTTP requires a custom player and the injection of specific Flash Video metadata containing the exact starting position in bytes and timecode of each keyframe. Using this specific information, a custom Flash Video player can request any part of the Flash Video file starting at a specified keyframe. For example, Google Video, Youtube, and BitGravity support progressive downloading and can seek to any part of the video before buffering is complete. The server-side part of this "HTTP pseudo-streaming" method is fairly simple to implement, for example in PHP, as an Apache module, or using lighttpd.
- Streamed via RTMP to the Flash Player using the Flash Media Server (formerly called Flash Communication Server), VCS, ElectroServer, Helix Universal Server, Wowza Pro, WebORB for .NET, WebORB for Java, erlyvideo (in erlang), or the open source Red5 server. As of April 2008, there are stream recorders available for this protocol, re-encoding screencast software excluded.
Flash video recording
It is possible to record online flash videos using stream recorders and screen video capture software. The former gives lossless results, while the latter allows recording any video even when anti-leeching measures are used.
See also
- Local Shared Object
- SWFObject
- Comparison of media players
- Adobe Flash Player
References
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 Adobe Systems Incorporated (November 2008) (PDF). Video File Format Specification, Version 10. Adobe Systems Incorporated. http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf. Retrieved 2009-08-03.
- ↑ "What is the difference between Flash Video (FLV), F4V and H.264.". Google Knol. December 7, 2008. http://knol.google.com/k/nina-king/what-is-the-difference-flash-video-flv/1zvmlr765y0hs/30#. Retrieved 3 August 2009.
- ↑ Future Media Standards & Guidelines - AV Addendum v1.5 BBC
- ↑ Benjamin Larsson (2009-03-17). "h263-svq3 optimizations". FFmpeg-devel mailing list. http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/065410.html. Retrieved 2009-08-09.
- ↑ 5.0 5.1 "The quest for a new video codec in Flash 8". Kaourantin.net. 2005-08-13. http://www.kaourantin.net/2005/08/quest-for-new-video-codec-in-flash-8.html. Retrieved 2009-08-10.
- ↑ "Sorenson Spark". MultimediaWiki. http://wiki.multimedia.cx/index.php?title=Sorenson_Spark. Retrieved 2009-11-03.
- ↑ Sorenson Media Difference Between Flash 6 and Flash 8 video, Retrieved on 2009-08-09
- ↑ 8.0 8.1 Adobe LiveDocs (2005) Flash 8 Documentation - About the On2 VP6 and Sorenson Spark video codecs, Retrieved on 2009-08-09
- ↑ 9.0 9.1 Adobe Flash CS4 Professional Documentation - Digital video and Flash, Retrieved on 2009-08-09
- ↑ Adobe LiveDocs (2005) Flash 8 Documentation - Comparing the On2 VP6 and Sorenson Spark video codecs, Retrieved on 2009-08-09
- ↑ "Adobe Flash Player 9 Downloads". Adobe. 2007-12-03. http://www.adobe.com/support/flashplayer/downloads.html#fp9. Retrieved 2008-01-31.
- ↑ http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf
- ↑ 13.0 13.1 Kaourantin.net (2007-08-20). "What just happened to video on the web". http://www.kaourantin.net/2007/08/what-just-happened-to-video-on-web_20.html. Retrieved 2009-08-12.
- ↑ Frewin, Jonathan (May 18, 2010). "Flash creator wades into Apple debate". BBC News. http://news.bbc.co.uk/1/hi/technology/10121187.stm. Retrieved June 1, 2010.
- ↑ 15.0 15.1 MultimediaWiki Nelly Moser, Retrieved on 2009-08-11
- ↑ AskMeFlash.com (2009-05-10) Speex vs Nellymoser, Retrieved on 2009-08-12
- ↑ 17.0 17.1 OSFlash (2008-10-07). "Flash Video (FLV) Open Source Flash". http://osflash.org/flv. Retrieved 2009-08-12.
- ↑ 18.0 18.1 18.2 18.3 Kaourantin.net (October 31, 2007) Tinic Uro New File Extensions and MIME Types, Retrieved on 2009-08-03
- ↑ Adobe (2007-12-03) List of codecs supported by Adobe Flash Player, Retrieved on 2009-08-10
External links
Adobe Flash |
|
File formats |
.as (ActionScript) · .amf (Action Message Format) · .flv, .f4v (Flash Video) · .fxg (Flash XML Graphics) · .mxml (MXML) · .swc (Shockwave Flash Component) · .swf (Shockwave Flash)
|
|
Software |
Adobe
|
Adobe Flash Professional · Adobe Flash Player (Adobe Flash Lite) · Adobe Flash Builder · Adobe Flash Cast · Adobe Flash Catalyst · Adobe Flash Media Server · Adobe Flash Media Live Encoder · FlashTime
|
|
Third-party
|
FlashDevelop · Open Dialect · OpenLaszlo
|
|
|
Related topics |
Flash animation · Local Shared Object · Protected Streaming · Real Time Messaging Protocol · Real Time Media Flow Protocol · SWFAddress · SWFFit · SWFObject · XMLSocket
|
|
Multimedia compression and container formats |
|
Video compression |
|
MJPEG · Motion JPEG 2000 · MPEG-1 · MPEG-2 (Part 2) · MPEG-4 (Part 2/ASP · Part 10/AVC) · HEVC
|
|
ITU-T
|
H.120 · H.261 · H.262 · H.263 · H.264 · HEVC
|
|
Others
|
AVS · Bink · CineForm · Cinepak · Dirac · DV · Indeo · Microsoft Video 1 · OMS Video · Pixlet · RealVideo · RTVideo · SheerVideo · Smacker · Sorenson Video & Sorenson Spark · Theora · VC-1 · VC-2 · VC-3 · VP3 · VP6 · VP7 · VP8 · WMV
|
|
|
Audio compression |
|
|
|
ITU-T
|
G.711 · G.718 · G.719 · G.722 · G.722.1 · G.722.2 · G.723 · G.723.1 · G.726 · G.728 · G.729 · G.729.1
|
|
Others
|
AC-3 · AMR · AMR-WB · AMR-WB+ · Apple Lossless · ATRAC · CELT · DRA · DTS · EVRC · EVRC-B · FLAC · GSM-HR · GSM-FR · GSM-EFR · iLBC · iSAC · Monkey's Audio · TTA (True Audio) · MT9 · A-law · μ-law · Musepack · Nellymoser · OptimFROG · OSQ · QCELP · RealAudio · RTAudio · SD2 · SHN · SILK · Siren · SMV · Speex · SVOPC · TwinVQ · VMR-WB · Vorbis · WavPack · WMA
|
|
|
Image compression |
|
JPEG · JPEG 2000 · JPEG XR · lossless JPEG · JBIG · JBIG2 · PNG
|
|
Others
|
APNG · BMP · DjVu · EXR · GIF · ICER · ILBM · MNG · PCX · PGF · TGA · QTVR · TIFF · WBMP · WebP
|
|
|
Media containers |
ISO/IEC
|
MPEG-PS · MPEG-TS · ISO base media file format · MPEG-4 Part 14 · Motion JPEG 2000 · MPEG-21 Part 9
|
|
ITU-T
|
H.222.0 · T.802
|
|
Others
|
3GP and 3G2 · AMV · ASF · AIFF · AVI · AU · Bink · DivX Media Format · DPX · EVO · Flash Video · GXF · M2TS · Matroska · MXF · Ogg · QuickTime File Format · RealMedia · REDCODE RAW · RIFF · Smacker · MOD and TOD · VOB · WAV · WebM
|
|
|
See Compression methods for methods and Compression software implementations for codecs |
|
Media players |
|
Windows |
Commercial
|
Connect Player · Iriver plus 3 · Media Center · PowerDVD · SonicStage · The Core Media Player · WinDVD · Windows Media Center · Windows Media Player · Yahoo! Music Jukebox · Zune
|
|
Freeware
|
Adobe Media Player · CrystalPlayer · Dell MediaDirect · foobar2000 · GOM Player · InterActual Player · jetAudio · MadCat Media Browser · Media Go · Media Player Classic · MediaMonkey · Mod4Win · Mpxplay · MusicBee · MusikCube · QuickPlayer · Adobe Shockwave · Quintessential Player · Style Jukebox · K-Multimedia Player · WinPlay3 · Winamp
|
|
|
Windows Mobile |
|
|
Mac OS X |
Commercial
|
Centerstage · Chroma · DVD Player · Front Row · Peel · Windows Media Components for QuickTime
|
|
Freeware
|
Audion · Cog · Perian · Plexapp
|
|
|
Linux |
Audacious Media Player · Baudline · Beep Media Player · cmus · Decibel Audio Player · Exaile · Gnome Music Player Client · Helix · JuK · Kaffeine · LinuxMCE · Lsongs · Miro · Mpg123 · Muine · Music Player Daemon · Music on Console · Noatun · Ogle DVD Player · Rhythmbox · Totem · Unix Amiga Delitracker Emulator · Xine · XMMS · XMMS2
|
|
Palm OS |
Pocket Tunes
|
|
Cross-platform |
|
Commercial
|
CoreAVC CorePlayer · Core Pocket Media Player
|
|
Freeware
|
|
|
|
Technologies |
|
|
Related articles |
Video player (Comparison) · Audio player (Comparison) · Portable media player (Comparison) · HD media player · Home Theater PC · Home cinema
|
|